package com.jieshuibao.model.db;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class OfficialAdvisoryExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private int pageIndex;

    private int pageSize;

    public OfficialAdvisoryExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPageIndex(int pageIndex) {
        this.pageIndex=pageIndex;
    }

    public int getPageIndex() {
        return this.pageIndex;
    }

    public void setPageSize(int pageSize) {
        this.pageSize=pageSize;
    }

    public int getPageSize() {
        return this.pageSize;
    }

    public OfficialAdvisoryExample(int pageIndex, int pageSize) {
        this();
        this.pageIndex=pageIndex;
        this.pageSize=pageSize;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUuidIsNull() {
            addCriterion("official_advisory.uuid is null");
            return (Criteria) this;
        }

        public Criteria andUuidIsNotNull() {
            addCriterion("official_advisory.uuid is not null");
            return (Criteria) this;
        }

        public Criteria andUuidEqualTo(String value) {
            addCriterion("official_advisory.uuid =", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotEqualTo(String value) {
            addCriterion("official_advisory.uuid <>", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThan(String value) {
            addCriterion("official_advisory.uuid >", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThanOrEqualTo(String value) {
            addCriterion("official_advisory.uuid >=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThan(String value) {
            addCriterion("official_advisory.uuid <", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThanOrEqualTo(String value) {
            addCriterion("official_advisory.uuid <=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLike(String value) {
            addCriterion("official_advisory.uuid like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotLike(String value) {
            addCriterion("official_advisory.uuid not like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidIn(List<String> values) {
            addCriterion("official_advisory.uuid in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotIn(List<String> values) {
            addCriterion("official_advisory.uuid not in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidBetween(String value1, String value2) {
            addCriterion("official_advisory.uuid between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotBetween(String value1, String value2) {
            addCriterion("official_advisory.uuid not between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("official_advisory.userId is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("official_advisory.userId is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(String value) {
            addCriterion("official_advisory.userId =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(String value) {
            addCriterion("official_advisory.userId <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(String value) {
            addCriterion("official_advisory.userId >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("official_advisory.userId >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(String value) {
            addCriterion("official_advisory.userId <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(String value) {
            addCriterion("official_advisory.userId <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLike(String value) {
            addCriterion("official_advisory.userId like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotLike(String value) {
            addCriterion("official_advisory.userId not like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<String> values) {
            addCriterion("official_advisory.userId in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<String> values) {
            addCriterion("official_advisory.userId not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(String value1, String value2) {
            addCriterion("official_advisory.userId between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(String value1, String value2) {
            addCriterion("official_advisory.userId not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andQuestionIsNull() {
            addCriterion("official_advisory.question is null");
            return (Criteria) this;
        }

        public Criteria andQuestionIsNotNull() {
            addCriterion("official_advisory.question is not null");
            return (Criteria) this;
        }

        public Criteria andQuestionEqualTo(String value) {
            addCriterion("official_advisory.question =", value, "question");
            return (Criteria) this;
        }

        public Criteria andQuestionNotEqualTo(String value) {
            addCriterion("official_advisory.question <>", value, "question");
            return (Criteria) this;
        }

        public Criteria andQuestionGreaterThan(String value) {
            addCriterion("official_advisory.question >", value, "question");
            return (Criteria) this;
        }

        public Criteria andQuestionGreaterThanOrEqualTo(String value) {
            addCriterion("official_advisory.question >=", value, "question");
            return (Criteria) this;
        }

        public Criteria andQuestionLessThan(String value) {
            addCriterion("official_advisory.question <", value, "question");
            return (Criteria) this;
        }

        public Criteria andQuestionLessThanOrEqualTo(String value) {
            addCriterion("official_advisory.question <=", value, "question");
            return (Criteria) this;
        }

        public Criteria andQuestionLike(String value) {
            addCriterion("official_advisory.question like", value, "question");
            return (Criteria) this;
        }

        public Criteria andQuestionNotLike(String value) {
            addCriterion("official_advisory.question not like", value, "question");
            return (Criteria) this;
        }

        public Criteria andQuestionIn(List<String> values) {
            addCriterion("official_advisory.question in", values, "question");
            return (Criteria) this;
        }

        public Criteria andQuestionNotIn(List<String> values) {
            addCriterion("official_advisory.question not in", values, "question");
            return (Criteria) this;
        }

        public Criteria andQuestionBetween(String value1, String value2) {
            addCriterion("official_advisory.question between", value1, value2, "question");
            return (Criteria) this;
        }

        public Criteria andQuestionNotBetween(String value1, String value2) {
            addCriterion("official_advisory.question not between", value1, value2, "question");
            return (Criteria) this;
        }

        public Criteria andQuDateIsNull() {
            addCriterion("official_advisory.quDate is null");
            return (Criteria) this;
        }

        public Criteria andQuDateIsNotNull() {
            addCriterion("official_advisory.quDate is not null");
            return (Criteria) this;
        }

        public Criteria andQuDateEqualTo(Date value) {
            addCriterion("official_advisory.quDate =", value, "quDate");
            return (Criteria) this;
        }

        public Criteria andQuDateNotEqualTo(Date value) {
            addCriterion("official_advisory.quDate <>", value, "quDate");
            return (Criteria) this;
        }

        public Criteria andQuDateGreaterThan(Date value) {
            addCriterion("official_advisory.quDate >", value, "quDate");
            return (Criteria) this;
        }

        public Criteria andQuDateGreaterThanOrEqualTo(Date value) {
            addCriterion("official_advisory.quDate >=", value, "quDate");
            return (Criteria) this;
        }

        public Criteria andQuDateLessThan(Date value) {
            addCriterion("official_advisory.quDate <", value, "quDate");
            return (Criteria) this;
        }

        public Criteria andQuDateLessThanOrEqualTo(Date value) {
            addCriterion("official_advisory.quDate <=", value, "quDate");
            return (Criteria) this;
        }

        public Criteria andQuDateIn(List<Date> values) {
            addCriterion("official_advisory.quDate in", values, "quDate");
            return (Criteria) this;
        }

        public Criteria andQuDateNotIn(List<Date> values) {
            addCriterion("official_advisory.quDate not in", values, "quDate");
            return (Criteria) this;
        }

        public Criteria andQuDateBetween(Date value1, Date value2) {
            addCriterion("official_advisory.quDate between", value1, value2, "quDate");
            return (Criteria) this;
        }

        public Criteria andQuDateNotBetween(Date value1, Date value2) {
            addCriterion("official_advisory.quDate not between", value1, value2, "quDate");
            return (Criteria) this;
        }

        public Criteria andImgsIsNull() {
            addCriterion("official_advisory.imgs is null");
            return (Criteria) this;
        }

        public Criteria andImgsIsNotNull() {
            addCriterion("official_advisory.imgs is not null");
            return (Criteria) this;
        }

        public Criteria andImgsEqualTo(String value) {
            addCriterion("official_advisory.imgs =", value, "imgs");
            return (Criteria) this;
        }

        public Criteria andImgsNotEqualTo(String value) {
            addCriterion("official_advisory.imgs <>", value, "imgs");
            return (Criteria) this;
        }

        public Criteria andImgsGreaterThan(String value) {
            addCriterion("official_advisory.imgs >", value, "imgs");
            return (Criteria) this;
        }

        public Criteria andImgsGreaterThanOrEqualTo(String value) {
            addCriterion("official_advisory.imgs >=", value, "imgs");
            return (Criteria) this;
        }

        public Criteria andImgsLessThan(String value) {
            addCriterion("official_advisory.imgs <", value, "imgs");
            return (Criteria) this;
        }

        public Criteria andImgsLessThanOrEqualTo(String value) {
            addCriterion("official_advisory.imgs <=", value, "imgs");
            return (Criteria) this;
        }

        public Criteria andImgsLike(String value) {
            addCriterion("official_advisory.imgs like", value, "imgs");
            return (Criteria) this;
        }

        public Criteria andImgsNotLike(String value) {
            addCriterion("official_advisory.imgs not like", value, "imgs");
            return (Criteria) this;
        }

        public Criteria andImgsIn(List<String> values) {
            addCriterion("official_advisory.imgs in", values, "imgs");
            return (Criteria) this;
        }

        public Criteria andImgsNotIn(List<String> values) {
            addCriterion("official_advisory.imgs not in", values, "imgs");
            return (Criteria) this;
        }

        public Criteria andImgsBetween(String value1, String value2) {
            addCriterion("official_advisory.imgs between", value1, value2, "imgs");
            return (Criteria) this;
        }

        public Criteria andImgsNotBetween(String value1, String value2) {
            addCriterion("official_advisory.imgs not between", value1, value2, "imgs");
            return (Criteria) this;
        }

        public Criteria andAnswerByIsNull() {
            addCriterion("official_advisory.answerBy is null");
            return (Criteria) this;
        }

        public Criteria andAnswerByIsNotNull() {
            addCriterion("official_advisory.answerBy is not null");
            return (Criteria) this;
        }

        public Criteria andAnswerByEqualTo(String value) {
            addCriterion("official_advisory.answerBy =", value, "answerBy");
            return (Criteria) this;
        }

        public Criteria andAnswerByNotEqualTo(String value) {
            addCriterion("official_advisory.answerBy <>", value, "answerBy");
            return (Criteria) this;
        }

        public Criteria andAnswerByGreaterThan(String value) {
            addCriterion("official_advisory.answerBy >", value, "answerBy");
            return (Criteria) this;
        }

        public Criteria andAnswerByGreaterThanOrEqualTo(String value) {
            addCriterion("official_advisory.answerBy >=", value, "answerBy");
            return (Criteria) this;
        }

        public Criteria andAnswerByLessThan(String value) {
            addCriterion("official_advisory.answerBy <", value, "answerBy");
            return (Criteria) this;
        }

        public Criteria andAnswerByLessThanOrEqualTo(String value) {
            addCriterion("official_advisory.answerBy <=", value, "answerBy");
            return (Criteria) this;
        }

        public Criteria andAnswerByLike(String value) {
            addCriterion("official_advisory.answerBy like", value, "answerBy");
            return (Criteria) this;
        }

        public Criteria andAnswerByNotLike(String value) {
            addCriterion("official_advisory.answerBy not like", value, "answerBy");
            return (Criteria) this;
        }

        public Criteria andAnswerByIn(List<String> values) {
            addCriterion("official_advisory.answerBy in", values, "answerBy");
            return (Criteria) this;
        }

        public Criteria andAnswerByNotIn(List<String> values) {
            addCriterion("official_advisory.answerBy not in", values, "answerBy");
            return (Criteria) this;
        }

        public Criteria andAnswerByBetween(String value1, String value2) {
            addCriterion("official_advisory.answerBy between", value1, value2, "answerBy");
            return (Criteria) this;
        }

        public Criteria andAnswerByNotBetween(String value1, String value2) {
            addCriterion("official_advisory.answerBy not between", value1, value2, "answerBy");
            return (Criteria) this;
        }

        public Criteria andAnsDateIsNull() {
            addCriterion("official_advisory.ansDate is null");
            return (Criteria) this;
        }

        public Criteria andAnsDateIsNotNull() {
            addCriterion("official_advisory.ansDate is not null");
            return (Criteria) this;
        }

        public Criteria andAnsDateEqualTo(Date value) {
            addCriterion("official_advisory.ansDate =", value, "ansDate");
            return (Criteria) this;
        }

        public Criteria andAnsDateNotEqualTo(Date value) {
            addCriterion("official_advisory.ansDate <>", value, "ansDate");
            return (Criteria) this;
        }

        public Criteria andAnsDateGreaterThan(Date value) {
            addCriterion("official_advisory.ansDate >", value, "ansDate");
            return (Criteria) this;
        }

        public Criteria andAnsDateGreaterThanOrEqualTo(Date value) {
            addCriterion("official_advisory.ansDate >=", value, "ansDate");
            return (Criteria) this;
        }

        public Criteria andAnsDateLessThan(Date value) {
            addCriterion("official_advisory.ansDate <", value, "ansDate");
            return (Criteria) this;
        }

        public Criteria andAnsDateLessThanOrEqualTo(Date value) {
            addCriterion("official_advisory.ansDate <=", value, "ansDate");
            return (Criteria) this;
        }

        public Criteria andAnsDateIn(List<Date> values) {
            addCriterion("official_advisory.ansDate in", values, "ansDate");
            return (Criteria) this;
        }

        public Criteria andAnsDateNotIn(List<Date> values) {
            addCriterion("official_advisory.ansDate not in", values, "ansDate");
            return (Criteria) this;
        }

        public Criteria andAnsDateBetween(Date value1, Date value2) {
            addCriterion("official_advisory.ansDate between", value1, value2, "ansDate");
            return (Criteria) this;
        }

        public Criteria andAnsDateNotBetween(Date value1, Date value2) {
            addCriterion("official_advisory.ansDate not between", value1, value2, "ansDate");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNull() {
            addCriterion("official_advisory.updateBy is null");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNotNull() {
            addCriterion("official_advisory.updateBy is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateByEqualTo(String value) {
            addCriterion("official_advisory.updateBy =", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotEqualTo(String value) {
            addCriterion("official_advisory.updateBy <>", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThan(String value) {
            addCriterion("official_advisory.updateBy >", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThanOrEqualTo(String value) {
            addCriterion("official_advisory.updateBy >=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThan(String value) {
            addCriterion("official_advisory.updateBy <", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThanOrEqualTo(String value) {
            addCriterion("official_advisory.updateBy <=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLike(String value) {
            addCriterion("official_advisory.updateBy like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotLike(String value) {
            addCriterion("official_advisory.updateBy not like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByIn(List<String> values) {
            addCriterion("official_advisory.updateBy in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotIn(List<String> values) {
            addCriterion("official_advisory.updateBy not in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByBetween(String value1, String value2) {
            addCriterion("official_advisory.updateBy between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotBetween(String value1, String value2) {
            addCriterion("official_advisory.updateBy not between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNull() {
            addCriterion("official_advisory.updateDate is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNotNull() {
            addCriterion("official_advisory.updateDate is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateEqualTo(Date value) {
            addCriterion("official_advisory.updateDate =", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotEqualTo(Date value) {
            addCriterion("official_advisory.updateDate <>", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThan(Date value) {
            addCriterion("official_advisory.updateDate >", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("official_advisory.updateDate >=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThan(Date value) {
            addCriterion("official_advisory.updateDate <", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThanOrEqualTo(Date value) {
            addCriterion("official_advisory.updateDate <=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIn(List<Date> values) {
            addCriterion("official_advisory.updateDate in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotIn(List<Date> values) {
            addCriterion("official_advisory.updateDate not in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateBetween(Date value1, Date value2) {
            addCriterion("official_advisory.updateDate between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotBetween(Date value1, Date value2) {
            addCriterion("official_advisory.updateDate not between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andAnswerIsNull() {
            addCriterion("official_advisory.answer is null");
            return (Criteria) this;
        }

        public Criteria andAnswerIsNotNull() {
            addCriterion("official_advisory.answer is not null");
            return (Criteria) this;
        }

        public Criteria andAnswerEqualTo(String value) {
            addCriterion("official_advisory.answer =", value, "answer");
            return (Criteria) this;
        }

        public Criteria andAnswerNotEqualTo(String value) {
            addCriterion("official_advisory.answer <>", value, "answer");
            return (Criteria) this;
        }

        public Criteria andAnswerGreaterThan(String value) {
            addCriterion("official_advisory.answer >", value, "answer");
            return (Criteria) this;
        }

        public Criteria andAnswerGreaterThanOrEqualTo(String value) {
            addCriterion("official_advisory.answer >=", value, "answer");
            return (Criteria) this;
        }

        public Criteria andAnswerLessThan(String value) {
            addCriterion("official_advisory.answer <", value, "answer");
            return (Criteria) this;
        }

        public Criteria andAnswerLessThanOrEqualTo(String value) {
            addCriterion("official_advisory.answer <=", value, "answer");
            return (Criteria) this;
        }

        public Criteria andAnswerLike(String value) {
            addCriterion("official_advisory.answer like", value, "answer");
            return (Criteria) this;
        }

        public Criteria andAnswerNotLike(String value) {
            addCriterion("official_advisory.answer not like", value, "answer");
            return (Criteria) this;
        }

        public Criteria andAnswerIn(List<String> values) {
            addCriterion("official_advisory.answer in", values, "answer");
            return (Criteria) this;
        }

        public Criteria andAnswerNotIn(List<String> values) {
            addCriterion("official_advisory.answer not in", values, "answer");
            return (Criteria) this;
        }

        public Criteria andAnswerBetween(String value1, String value2) {
            addCriterion("official_advisory.answer between", value1, value2, "answer");
            return (Criteria) this;
        }

        public Criteria andAnswerNotBetween(String value1, String value2) {
            addCriterion("official_advisory.answer not between", value1, value2, "answer");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("official_advisory.status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("official_advisory.status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("official_advisory.status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("official_advisory.status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("official_advisory.status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("official_advisory.status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("official_advisory.status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("official_advisory.status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("official_advisory.status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("official_advisory.status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("official_advisory.status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("official_advisory.status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("official_advisory.status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("official_advisory.status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andRedIsNull() {
            addCriterion("official_advisory.red is null");
            return (Criteria) this;
        }

        public Criteria andRedIsNotNull() {
            addCriterion("official_advisory.red is not null");
            return (Criteria) this;
        }

        public Criteria andRedEqualTo(String value) {
            addCriterion("official_advisory.red =", value, "red");
            return (Criteria) this;
        }

        public Criteria andRedNotEqualTo(String value) {
            addCriterion("official_advisory.red <>", value, "red");
            return (Criteria) this;
        }

        public Criteria andRedGreaterThan(String value) {
            addCriterion("official_advisory.red >", value, "red");
            return (Criteria) this;
        }

        public Criteria andRedGreaterThanOrEqualTo(String value) {
            addCriterion("official_advisory.red >=", value, "red");
            return (Criteria) this;
        }

        public Criteria andRedLessThan(String value) {
            addCriterion("official_advisory.red <", value, "red");
            return (Criteria) this;
        }

        public Criteria andRedLessThanOrEqualTo(String value) {
            addCriterion("official_advisory.red <=", value, "red");
            return (Criteria) this;
        }

        public Criteria andRedLike(String value) {
            addCriterion("official_advisory.red like", value, "red");
            return (Criteria) this;
        }

        public Criteria andRedNotLike(String value) {
            addCriterion("official_advisory.red not like", value, "red");
            return (Criteria) this;
        }

        public Criteria andRedIn(List<String> values) {
            addCriterion("official_advisory.red in", values, "red");
            return (Criteria) this;
        }

        public Criteria andRedNotIn(List<String> values) {
            addCriterion("official_advisory.red not in", values, "red");
            return (Criteria) this;
        }

        public Criteria andRedBetween(String value1, String value2) {
            addCriterion("official_advisory.red between", value1, value2, "red");
            return (Criteria) this;
        }

        public Criteria andRedNotBetween(String value1, String value2) {
            addCriterion("official_advisory.red not between", value1, value2, "red");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNull() {
            addCriterion("official_advisory.delFlag is null");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNotNull() {
            addCriterion("official_advisory.delFlag is not null");
            return (Criteria) this;
        }

        public Criteria andDelFlagEqualTo(String value) {
            addCriterion("official_advisory.delFlag =", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotEqualTo(String value) {
            addCriterion("official_advisory.delFlag <>", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThan(String value) {
            addCriterion("official_advisory.delFlag >", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThanOrEqualTo(String value) {
            addCriterion("official_advisory.delFlag >=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThan(String value) {
            addCriterion("official_advisory.delFlag <", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThanOrEqualTo(String value) {
            addCriterion("official_advisory.delFlag <=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLike(String value) {
            addCriterion("official_advisory.delFlag like", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotLike(String value) {
            addCriterion("official_advisory.delFlag not like", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagIn(List<String> values) {
            addCriterion("official_advisory.delFlag in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotIn(List<String> values) {
            addCriterion("official_advisory.delFlag not in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagBetween(String value1, String value2) {
            addCriterion("official_advisory.delFlag between", value1, value2, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotBetween(String value1, String value2) {
            addCriterion("official_advisory.delFlag not between", value1, value2, "delFlag");
            return (Criteria) this;
        }

        public Criteria andScoreIsNull() {
            addCriterion("official_advisory.score is null");
            return (Criteria) this;
        }

        public Criteria andScoreIsNotNull() {
            addCriterion("official_advisory.score is not null");
            return (Criteria) this;
        }

        public Criteria andScoreEqualTo(Integer value) {
            addCriterion("official_advisory.score =", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotEqualTo(Integer value) {
            addCriterion("official_advisory.score <>", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreGreaterThan(Integer value) {
            addCriterion("official_advisory.score >", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreGreaterThanOrEqualTo(Integer value) {
            addCriterion("official_advisory.score >=", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreLessThan(Integer value) {
            addCriterion("official_advisory.score <", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreLessThanOrEqualTo(Integer value) {
            addCriterion("official_advisory.score <=", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreIn(List<Integer> values) {
            addCriterion("official_advisory.score in", values, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotIn(List<Integer> values) {
            addCriterion("official_advisory.score not in", values, "score");
            return (Criteria) this;
        }

        public Criteria andScoreBetween(Integer value1, Integer value2) {
            addCriterion("official_advisory.score between", value1, value2, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotBetween(Integer value1, Integer value2) {
            addCriterion("official_advisory.score not between", value1, value2, "score");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}